package com.wgts.wgts.localbean;

import android.os.Parcel;
import android.os.Parcelable;

/*
 *
 *
 */public class GoodsData implements Parcelable{
     private String url;
     private String productName;
     private String productPrice;
     private String count;
     private String productType;
     public GoodsData(){}

    protected GoodsData(Parcel in) {
        url = in.readString();
        productName = in.readString();
        productPrice = in.readString();
        count = in.readString();
        productType = in.readString();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(String productPrice) {
        this.productPrice = productPrice;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public static final Creator<GoodsData> CREATOR = new Creator<GoodsData>() {
        @Override
        public GoodsData createFromParcel(Parcel in) {
            return new GoodsData(in);
        }

        @Override
        public GoodsData[] newArray(int size) {
            return new GoodsData[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(url);
        dest.writeString(productName);
        dest.writeString(productPrice);
        dest.writeString(count);
        dest.writeString(productType);
    }
}
